import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity({ name: 'AccessToken' })
export default class AccessTokenEntity  {
  @PrimaryGeneratedColumn()
  SysID: number;

  @Column({ type: 'varchar', length: 255 })
  AccessToken: string;

  @Column({ type: 'varchar', length: 20 })
  ExpiresTime: string;

  @Column({ type: 'varchar', length: 20 })
  CreateTime: string;
}